package com.example.asus.myapplication;

import android.test.ActivityInstrumentationTestCase2;

import com.example.myprojectoffeixue.LoginActivity;
import com.example.myprojectoffeixue.MyGateWayActivity;
import com.example.myprojectoffeixue.ShanPingActivity;
import com.robotium.solo.Solo;

/**
 * Created by ASUS on 2016/9/29.
 */
public class ShanPingTest  extends ActivityInstrumentationTestCase2 {
    private Solo solo;

    public ShanPingTest() {
        super(ShanPingActivity.class);
    }

    @Override
    public void setUp() throws Exception {
        super.setUp();
        solo = new Solo(getInstrumentation(), getActivity());
    }


    public void test(){
        solo.sleep(5000);
        solo.assertCurrentActivity("ll", LoginActivity.class);
    }












}

